<%
var containerParam = {
	title: '白值设定',
	currentMenu: 'servantMgr',
	styleArray: [ctxPath + '/css/servant/white.css'],
	jsArray: [ctxPath + '/js/servant/white.js'],
	breadcrumbMap: {
		'首页': ctxPath + '/',
		'从者管理': ctxPath + '/servant/list',
		'白值设定': null
	}
};
layout('/common/_website_container.html', containerParam){
%>
<div class="layui-card">
	<div class="layui-card-body padding-15">
		<form class="layui-form" lay-filter="form">
			<#formhidden name="id" value="${parameter.id}"/>
			<table class="layui-table">
				<thead>
					<tr>
						<th id="level">等级</th>
						<th>hp</th>
						<th>atk</th>
					</tr>
				</thead>
				<tbody>
					<% for (var i in range(1, 101)) { %>
					<tr>
						<td>${i}</td>
						<td class="table-input"><input type="text" class="layui-input" name="hp" value="${servantWhiteMap[i].hp!}"></td>
						<td class="table-input"><input type="text" class="layui-input" name="atk" value="${servantWhiteMap[i].atk!}"></td>
					</tr>
					<% } %>
				</tbody>
			</table>
			<#formsubmit/>
		</form>
	</div>
</div>
<% } %>
